﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.WebPages.Html;

namespace Blogger.UI.Extn
{
    public class CoolModel
    {
       public string name { get; set; }
    }
    public static class MyHtmlExtn
    {
        public static HtmlHelper RequiresCss(this HtmlHelper html, string filePath, string provider, int priority)
        {
            html.Raw(string.Format("<link href='{0}/{1}' rel='stylesheet'/>", "/Content", filePath));
            return html;
        }
        public static HtmlHelper RequiresJs(this HtmlHelper html, string filePath, string provider, int priority)
        {
            html.Raw(string.Format("<script type='text/javascript' src='{0}/{1}'/>", "/Content", filePath));
            return html;
        }
    }
}